package cn.wolfcode.crm.service;


import cn.wolfcode.crm.domain.Role;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IRoleService {

    void deleteByPrimaryKey(Long id);

    Role selectByPrimaryKey(Long id);

    List<Role> selectAll();

    void saveOrUpdate(Role entity);

    PageResult query(QueryObject qo);

    List<Long> selectRoleByEmpId(Long id);
}
